Page({
  data: {
    loginFormRules: {
      mobile: [
        { required: true, message: "手机号码不能为空" },
        { pattern: /^1[3-9]\d{9}$/, message: "手机号码格式不正确" },
      ],
      pwd: [
        { required: true, message: "密码不能为空" },
        { pattern: /^\w{6,16}$/, message: "密码必须在6~16位之间" },
      ],
    },
  },
});
